package com.blog.dao;

import org.apache.ibatis.annotations.Param;

import com.blog.entity.Blogger;

/**
 *
 * @author 29463
 */
public interface BloggerDao {
	/**
	 * 根据登录名查寻博主对象
	 * @param userName
	 * @return
	 */
	public Blogger getByUserName(@Param("userName")String userName);

	/**
	 * 更新博主对象
	 * @param blogger
	 * @return
	 */
	public Integer update(Blogger blogger);

	/**
	 * 查询博主信息
	 * @return
	 */
	public Blogger find();
}
